@import 'variables.scss';

.login {
    position: $absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: $body-background ;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    .login-bg {
        position: $absolute;
        width: 70%;
        height: 100%;
        top: 0;
        left: 0;
        background: url('../images/login_bg.png') no-repeat;
        background-position: 100% 100%;
        background-size: cover;
        @media screen and (max-width: 1300px){
            background: url("../images/login_bg_small.png") no-repeat;
            background-position: 100% 100%;
            background-size: cover;
        }
    }
    .login-main {
        width: 380px;
        height: 300px;
        background-color: $body-background;
        margin-right: 9.5%;
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.2);
        z-index: $zindex-spin;
        .login-title {
            font-size: 18px;
            font-weight: 400px;
            display: block;
            text-align: center;
            color: $info-color;
            font-weight: 600;
        }
        input {
            border: none;
            height: 44px;
            border-radius: 22px;
            padding-left: 15px;
            background-color: $input-group-bg;
            box-shadow: 0 0 0px 500px $input-group-bg inset;
            color: $input-color;
        }
        button {
            height: 45px;
            background-color: $btn-primary-bg;
            box-shadow: 0px 5px 10px 0px $shadow-color;
            border-color:  $btn-primary-bg;
        }
    }
    .remember-user-name {
        margin: 5px 0 0 10px;
    }
    .ivu-form-item {
        margin-bottom: 20px;
    }
}